<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>汽车4S店客服管理系统保养维修查询界面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="汽车,4S店,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="CSS/reMainPage.css"> 
	<link rel="stylesheet" type="text/css" href="CSS/maintenance.css"> 
	<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_1191747_bembg6ikbea.css"> 
  </head>
  
  <body>
    <% 
    	request.setCharacterEncoding("utf-8");
    	response.setHeader("Content-type", "text/html;charset=UTF-8");
    	response.setCharacterEncoding("UTF-8"); 
    %>
    <%
    	String name=(String)session.getAttribute("name"); 
    	String ident=(String)session.getAttribute("ident");
     %>
    <div class="allbody">
    	<div class="headbody">
    		<div class="maintitle">汽车4S店客服管理系统</div>
    	</div>
    	<div class="mylist" id="mylist">
    		<ul class="prolist">
    			<li><a href="userList">车型信息</a></li>
    			<li><a href="user">个人信息</a></li>
    			<li>
    				<c:if test="${ident!='职工'&&ident!='管理员'}">
    					车型保养维修
    				</c:if>
    			</li>
    			<li>
    				<c:if test="${ident=='用户'}">
    					客服
    				</c:if>
    			</li>
    			<li>
    				<c:if test="${ident!='职工'&&ident!='管理员'}">
    					个人订单
    				</c:if>
    			</li>
    			<c:if test="${ident=='职工'||ident=='管理员'}">
    				<li><a href="pendTask">待处理任务</a></li>
    				<li>增加车型</li>
    				<li>车型试驾订购</li>
    				<li>车型维修保养</li>
    				<li>订单处理</li>
    				<li>总订单</li>
    			</c:if>
    			<c:if test="${ident=='管理员'}">
    				<li>职工信息</li>
    				<li>用户信息</li>
    			</c:if>
    		</ul>
    	</div>
    	<div class="carmain">
    		<c:if test="${sessionScope.name!=null}">
    			<div class="username">
    				欢迎登陆,<%=name%><%=ident%>
    			</div>
    			<div class="closelogin">
    				<a href="javascript:void(0);">退出登陆</a>
    			</div>
    		</c:if>
    		<c:if test="${sessionScope.name==null}">
    			<div class="username">
    				<a href="index.jsp">请登录</a>
    			</div>
    		</c:if>
    		<div class="showMyMess">
    			<div class="inCarMess">
    				<p>填写必要的车型信息：</p>
    				<input type="text" placeholder="请输入车型名称">
    				<input type="text" placeholder="请输入里程数">
    				<input type="text" placeholder="请输入上牌时间  YYYY/MM/DD">
    				<input type="button" value="搜索">
    			</div>
    			<div class="optionProject">
    				<p>可选择的项目：</p><span>在您的输入车型名称搜索后才能选择项目哟~</span>
    				<p class="res">抱歉您所选择的车型暂无任何保养项目,具体最新保养问题请登录后咨询客服~</p>
    				<ul>
    					<li>
    						<i class="iconfont icon-jiyou-cuxiantiao-fill"></i>
    						<span>发动机机油</span>
    					</li>
    					<li>
    						<i class="iconfont icon-jiyoulvqingqi"></i>
    						<span>机油滤清器</span>
    					</li>
    					<li>
    						<i class="iconfont icon-biansuxiangyou"></i>
    						<span>变速箱油</span>
    					</li>
    					<li>
    						<i class="iconfont icon-xinxinicon"></i>
    						<span>火花塞</span>
    					</li>
    					<li>
    						<i class="iconfont icon-kongdiaolvqingqi"></i>
    						<span>空调滤清器</span>
    					</li>
    					<li>
    						<i class="iconfont icon-kongqilvqingqi"></i>
    						<span>空气滤清器</span>
    					</li>
    					<li>
    						<i class="iconfont icon-ranyoulvqingqixinxi"></i>
    						<span>燃油滤清器</span>
    					</li>
    					<li>
    						<i class="iconfont icon-feishiyoujizhidongye"></i>
    						<span>制动液</span>
    					</li>
    					<li>
    						<i class="iconfont icon-fangdongye"></i>
    						<span>防冻液</span>
    					</li>
    				</ul>
    			</div>
    			<div class="jisuanMoney">
    				<p>保养费用核算：</p>
    				<table>
    					<tr>
    						<td>保养项目</td><td>配件费用（元）</td><td>工时费（元）</td>
    					</tr>
    					<tr>
    						<td>合计</td><td>-- --</td><td>-- --</td>
    					</tr>
    				</table>
    			</div>
    			<div class="bot">注：以上项目及报价信息仅供参考，具体情况以到店实际为准</div>
    		</div>
    	</div>
    </div>
    
    <script type="text/javascript"  src="JS/jquery-3.1.0.js"></script>
	<script type="text/javascript"  src="JS/reMainPage.js"></script>
	<script type="text/javascript"  src="JS/maintenance.js"></script>
  </body>
</html>
